//---------------------------------------------------------------------------

#ifndef h_stageiconH
#define h_stageiconH
//---------------------------------------------------------------------------
class HStageIcon : public TGraphicControl
{
public :
   __fastcall virtual HStageIcon(Classes::TComponent* AOwner);
   void __fastcall SetType(int Type);
   void __fastcall SetColor(h_g::HIconType Color);
   void __fastcall SetEnlarge(int Enlarge);
   void __fastcall HighLight(void);
   void __fastcall NormalLight(void);
   void __fastcall SetCaption(const UTF8String &Caption);
   void __fastcall SetPartFlag(bool PartFlag);
   void __fastcall SetExternFlag(bool ExternFlag);
   void __fastcall SetLoopFlag(bool ExternFlag);

protected :
   virtual void __fastcall Paint(void);

private :

   void __fastcall DrawDigit(int x, int y, int Digit);

   UTF8String FCaption;
   int FType;
   h_g::HIconType FColor;
   bool FPartFlag;
   bool FExternFlag;
   bool FLoopFlag;
   int FEnlarge;
};

#endif
